import { createApp } from 'vue';
import { createPinia } from 'pinia';
import vuex_store from '@/stores/vuex_index.js'; //vuex用的
import pinia_store from '@/stores/index.ts'; //pinia用的

import App from './App.vue';
import router from './router';

import './assets/main.css';

// const app = createApp(App);

// app.use(createPinia().use(piniaPersist));
// // const pinia = createPinia();
// // pinin.use(piniaPersist);
// app.use(router);
// app.use(store); //vuex用的
// app.use(p_store); //pinia用的

// app.mount('#app');

createApp(App)
	.use(createPinia())
	.use(router)
	.use(vuex_store)
	.use(pinia_store)
	.mount('#app');
